//
//  ProjectManageViewController.swift
//  HuaYun
//
//  Created by enghou on 2018/12/20.
//  Copyright © 2018 xyxorigation. All rights reserved.
//

import UIKit

class ProjectManageViewController: BaseTableViewController {

    override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        tableView.deselectRow(at: indexPath, animated: true)
        if indexPath.row == 1 {
            let P = ProjectExecuteAnalysisViewController()
            P.title = "项目经营分析"
            self.push(destination: P)
        } else if indexPath.row == 0 {
            let p = ProjectListViewController()
            p.title = "项目列表"
            self.push(destination: p)
        }
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()

        // Uncomment the following line to preserve selection between presentations
        // self.clearsSelectionOnViewWillAppear = false

        // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
        // self.navigationItem.rightBarButtonItem = self.editButtonItem
    }

    

}
